import React, {JSX, useState} from "react";
import {View} from "@tarojs/components";
import './index.scss'
// import MyCalendar from "./MyCalendar";
import {Orders} from '../../../../components/biz/Order'
import {Tabs, ITabs} from '../../../../components/view/Tabs'

const tabList:Array<ITabs> = [
  {name: '房型选择', label: '房型选择'},
  {name: '酒店概况', label: '酒店概况'},
  {name: '评价', label: '评价'},
]

export interface IContent {
  list: Array<any>
}

export const Content: React.FC<IContent> = ({list}): JSX.Element => {
  return (
    <View className='ListWrapper'>
      <Tabs list={tabList}></Tabs>
      {/*<MyCalendar></MyCalendar>*/}

      <View style={{padding: '14rpx'}}>
        <Orders list={list}></Orders>
      </View>

    </View>
  )
}

export default Content;
